/* 
 * File:   StepData.h
 * Author: root
 *
 * Created on October 30, 2015, 1:11 AM
 */

#ifndef STEPDATA_H
#define	STEPDATA_H

#include "pedometer.h"

class StepData {
public:
    StepData();
    StepData(const StepData& orig);
    StepData(const SensorData& paraSensorA, 
        const SensorData& paraSensorB, const SensorData& paraSensorC);
    StepData& operator=(const StepData& orig);
    void set(const SensorData& paraSensorA, 
        const SensorData& paraSensorB, const SensorData& paraSensorC);
    virtual ~StepData();
    double getMinLevel() ;
    int getLevel() const;
    int isValid() const;
    int isTooWide() const;
    int isTooNarrow() const;
    int getWidth() const;
    int getTime() const;

    SensorData sensor[3];
private:
    static uint32 instanceCount;

};

#endif	/* STEPDATA_H */

